package com.woniu.order.feign;

import com.woniu.common.utils.PageData;
import com.woniu.common.utils.ResponseData;
import com.woniu.order.dto.ZcxCustomerOrderDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "order-server")
public interface ZcxOrderFeign {
    @PostMapping("/queryOrderList")
    ResponseData<?> queryOrderList(@RequestBody PageData<ZcxCustomerOrderDTO> pageData);
}
